package net.wanho.shop;

import java.math.BigDecimal;

/**
 * Author：汤小洋
 * Date：2025-06-25 10:45
 * Description：<描述>
 */
public class MyApp {
    public static void main(String[] args) {
        // double a = 2.6;
        // double b = 3.7;
        // System.out.println(a+b);

        BigDecimal a = new BigDecimal("2.6");
        BigDecimal b = new BigDecimal("3.7");
        System.out.println(a.add(b));

        try {
            Class.forName("com.mysql.jdbc.Driver");
        } catch (ClassNotFoundException e) {
            throw new RuntimeException(e);
        }
    }

    public void test22(){

    }
}
